import request from '@/utils/request'

// 获取所有的商品分类
export const getAdvertisingApi = () => {
    return request({
        url: '/community',
        method: 'get'
    })
}

// 获取状态
export const getAdvApi = () => {
    return request({
        url: '/adv',
        method: 'get'
    })
}

// 获取位置
export const getPlaceApi = () => {
    return request({
        url: '/adv',
        method: 'get'
    })
}

// 获取渲染列表
export const getContentApi = (params) => {
    return request({
        url: '/content/adv',
        method: 'get',
        params
    })
}
